package com.specialized.coupon.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.specialized.common.core.annotation.Excel;
import com.specialized.common.core.web.domain.BaseEntity;

/**
 * 邀请记录对象 invite
 *
 * @author djh
 * @date 2024-07-22
 */
public class Invite extends BaseEntity
        {
private static final long serialVersionUID=1L;

    /** 主键 */
    private Long inviteId;

    /** 邀请人 */
            @Excel(name = "邀请人")
    private Long userId;

    /** 被邀请人 */
            @Excel(name = "被邀请人")
    private Long inviteUserId;

    /** 邀请码 */
            @Excel(name = "邀请码")
    private String code;

    /** 状态 */
            @Excel(name = "状态")
    private Long status;

    public void setInviteId(Long inviteId)
            {
            this.inviteId = inviteId;
            }

    public Long getInviteId()
            {
            return inviteId;
            }
    public void setUserId(Long userId)
            {
            this.userId = userId;
            }

    public Long getUserId()
            {
            return userId;
            }
    public void setInviteUserId(Long inviteUserId)
            {
            this.inviteUserId = inviteUserId;
            }

    public Long getInviteUserId()
            {
            return inviteUserId;
            }
    public void setCode(String code)
            {
            this.code = code;
            }

    public String getCode()
            {
            return code;
            }
    public void setStatus(Long status)
            {
            this.status = status;
            }

    public Long getStatus()
            {
            return status;
            }

@Override
public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("inviteId",getInviteId())
            .append("userId",getUserId())
            .append("inviteUserId",getInviteUserId())
            .append("createTime",getCreateTime())
            .append("code",getCode())
            .append("status",getStatus())
        .toString();
        }
        }
